gtktextlayout: fix for right margin with RTL text
authorSebastien Lafargue <slafargue@gnome.org>
Thu, 18 Dec 2014 19:52:58 +0000 (20:52 +0100)
committerSebastien Lafargue <slafargue@gnome.org>
Thu, 18 Dec 2014 19:52:58 +0000 (20:52 +0100)
commit73c8f3092820c51058f188313c3249685be42a38
treef9b21384aa0aee355813b1dead50faa108fac3e6
parented1fb8d2afa1d7c3bbdd9284a0db09a44bc48327
gtktextlayout: fix for right margin with RTL text

When a RTL paragraph is not set to wrap, the right margin is not respected
because of the margins counted twice so we replace
display->width by PIXEL_BOUND (extents.width), the same quantity
without the margins.

https://bugzilla.gnome.org/show_bug.cgi?id=741702
gtk/gtktextlayout.c